package cn.java59;

import java.util.Scanner;

public class Homework4 {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		System.out.println("输入一个月份：");
		int mon = sc.nextInt();
		if (mon >= 3 && mon <= 5) {
			System.out.println("春季");
		} else if (mon >= 6 && mon <= 8) {
			System.out.println("夏季");
		} else if (mon >= 9 && mon <= 11) {
			System.out.println("秋季");
		} else if (mon == 12 || mon <= 2 && mon > 0) {
			System.out.println("冬季");
		} else {
			System.out.println("输入不合法");
		}
	}

}
